package cn.tedu.hotel.serve.service;

import cn.tedu.hotel.serve.pojo.dto.UserCommentDTO;
import cn.tedu.hotel.serve.pojo.vo.UserCommentVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IUserCommentService {
    void addUserComment(UserCommentDTO userCommentDTO);

    List<UserCommentVO> getHotelCommentListByHotelId(Long hotelId);

    List<UserCommentVO> getAdminUserCommentList();

    void deleteUserCommentById(Long id);
}
